ansible/tasks/sign_setup.yml

43 lines
1 KiB
YAML
Raw Normal View History

2013-06-03 23:22:13 +00:00
---
2013-06-14 15:25:28 +00:00
- name: put builder-repo on system
action: copy src="{{ files }}/sign/{{ item }}" dest="/etc/yum.repos.d/{{ item }}"
2013-06-14 15:25:28 +00:00
with_items:
- builder-rpms.repo
2014-03-04 18:47:58 +00:00
when: is_rhel is defined
2013-06-14 15:25:28 +00:00
tags:
- config
- packages
2013-06-03 23:22:13 +00:00
- name: install sigul
action: yum state=present name={{ item }}
2013-06-03 23:22:13 +00:00
with_items:
- sigul
2013-06-03 23:50:47 +00:00
- ntp
- ntpdate
2014-07-15 18:37:43 +00:00
- gnupg
2013-06-03 23:22:13 +00:00
tags:
- packages
2013-06-03 23:50:47 +00:00
2014-07-15 18:46:46 +00:00
- name: gpg link
file: state=link src=/usr/bin/gpg dest=/usr/bin/gpg1
tags:
- config
2013-06-04 17:21:28 +00:00
- name: setup /etc/sigul/bridge.conf file
action: template src="{{ files }}/sign/bridge.conf.j2" dest=/etc/sigul/bridge.conf owner=root group=sigul mode=640
2013-06-04 17:19:01 +00:00
tags:
- config
- name: setup /etc/sigul/server.conf file
action: copy src="{{ files }}/sign/server.conf" dest=/etc/sigul/server.conf owner=root group=sigul mode=640
2013-06-04 17:19:01 +00:00
2013-06-03 23:50:47 +00:00
- name: ntp steptickers
action: copy src="{{ files }}/common/step-tickers" dest=/etc/ntp/step-tickers
2013-06-03 23:50:47 +00:00
- name: ntp.conf
action: copy src="{{ files }}/common/ntp.conf" dest=/etc/ntp.conf
2013-06-03 23:50:47 +00:00
- name: enable ntpd
action: service name=ntpd enabled=true state=started