ansible-host: Make sure that ssh-agent is running for root
This commit is contained in:
parent
8ecbc19c75
commit
526a192018
1 changed files with 8 additions and 0 deletions
|
@ -35,3 +35,11 @@
|
|||
dest: /srv/ansible
|
||||
repo: https://git.foo.sh/ansible.git
|
||||
update: false
|
||||
|
||||
- name: add custom .bashrc for root
|
||||
copy:
|
||||
dest: /root/.bashrc
|
||||
src: root-bashrc.sh
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
mode: 0600
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue