Revert "see if we can defer facts gathering until after ssh host key setup is done"

This reverts commit ff8f5e1930.
This commit is contained in:
Kevin Fenzi 2017-10-13 01:27:33 +00:00
parent ff8f5e1930
commit 8000aa8b76
2 changed files with 1 additions and 7 deletions

View file

@ -7,7 +7,7 @@
- name: basic configuration
hosts: taskotron-dev-client-hosts:taskotron-stg-client-hosts:taskotron-prod-client-hosts
user: root
gather_facts: False
gather_facts: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml

View file

@ -25,12 +25,6 @@
- /root/.ssh/known_hosts
when: birthday is defined
- name: gather facts
setup:
check_mode: no
ignore_errors: True
register: facts
- name: check if sshd port is already known by selinux
shell: semanage port -l | grep ssh
register: sshd_selinux_port