Minor Ansible improvements

This commit is contained in:
Sebastian Haderecker 2021-09-01 21:55:22 +02:00
parent 310f560c65
commit e26600ad75
2 changed files with 2 additions and 2 deletions

View file

@ -16,4 +16,4 @@
ansible.builtin.fail: ansible.builtin.fail:
msg: Please enable agent forwarding to allow Ansible to connect to the remote host! msg: Please enable agent forwarding to allow Ansible to connect to the remote host!
ignore_errors: yes ignore_errors: yes
when: lookup('env','SSH_AUTH_SOCK') == "" failed_when: lookup('env','SSH_AUTH_SOCK') == ""

View file

@ -23,7 +23,7 @@
shell: /bin/bash shell: /bin/bash
- name: Copy T-Pot configuration file - name: Copy T-Pot configuration file
ansible.builtin.template: ansible.builtin.copy:
src: ../../../../../../iso/installer/tpot.conf.dist src: ../../../../../../iso/installer/tpot.conf.dist
dest: /root/tpot.conf dest: /root/tpot.conf
owner: root owner: root