mirror of
https://github.com/Dannecron/netology-devops.git
synced 2025-12-25 15:22:37 +03:00
homework 9.4: fix ansible playbook
This commit is contained in:
@@ -65,6 +65,7 @@
|
||||
when: jenkins_installed is changed
|
||||
- name: Ensure github.com is a known host
|
||||
become: true
|
||||
become_user: "{{ jenkins_user_name }}"
|
||||
lineinfile:
|
||||
dest: ~/.ssh/known_hosts
|
||||
create: yes
|
||||
|
||||
Reference in New Issue
Block a user