Work on more basic shit, should really squash these commits later
This commit is contained in:
parent
d11deec1d8
commit
668fe20fac
@ -6,6 +6,8 @@
|
||||
copy: src=vaultpass dest="~/ansiblevaultpass" mode="0600"
|
||||
become: yes
|
||||
become_user: ansible
|
||||
- name: install ansible
|
||||
pip: name=ansible,ansible-base,ansible-lint state=latest
|
||||
- name: configure systemd service
|
||||
template: src=ansible-pull.service dest=/etc/systemd/system/ansible-pull.service
|
||||
notify: restart ansiblepull timer
|
||||
|
@ -8,7 +8,7 @@ StartLimitBurst=5
|
||||
User=ansible
|
||||
Group=ansible
|
||||
Environment=ANSIBLE_CONFIG=~/ansible-pull-repo/ansible-pull.cfg
|
||||
ExecStart=/usr/local/bin/ansible-pull --accept-host-key -U "{{ ansible_pull_repo }}" -d "~/ansible-pull-repo" --vault-password-file "~/ansiblevaultpass" "{{ ansible_pull_playbook }}"
|
||||
ExecStart=/usr/local/bin/ansible-pull --accept-host-key -U "{{ ansible_pull_repo }}" -C "{{ ansible_pull_commit }}" -d "~/ansible-pull-repo" --vault-password-file "~/ansiblevaultpass" "{{ ansible_pull_playbook }}"
|
||||
Restart=on-failure
|
||||
RestartSec=90
|
||||
|
||||
|
@ -17,6 +17,11 @@
|
||||
- openssh-server
|
||||
- pwgen
|
||||
- python3-apt
|
||||
- python3-boto
|
||||
- python3-boto3
|
||||
- python3-botocore
|
||||
- python3-pip
|
||||
- python3-setuptools
|
||||
- screen
|
||||
- vim
|
||||
- whois
|
||||
|
Loading…
Reference in New Issue
Block a user