Merge pull request #887 from shaderecker/ansible

Minor Ansible improvements
This commit is contained in:
Marco Ochse 2021-09-02 09:50:56 +02:00 committed by GitHub
commit 00457b8b70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -16,4 +16,4 @@
ansible.builtin.fail:
msg: Please enable agent forwarding to allow Ansible to connect to the remote host!
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
- name: Copy T-Pot configuration file
ansible.builtin.template:
ansible.builtin.copy:
src: ../../../../../../iso/installer/tpot.conf.dist
dest: /root/tpot.conf
owner: root