Repos with recipes to deploy some infrastructure services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 line
492 B

  1. ---
  2. - import_playbook: playbook_ssh_known_host.yml
  3. - name: Configure Rapid7
  4. hosts:
  5. - all
  6. gather_facts: yes
  7. pre_tasks:
  8. - name: Gather hardware facts
  9. setup:
  10. gather_subset:
  11. - hardware
  12. roles:
  13. - {role: iptables, when: ansible_facts.os_family == "RedHat", tags: ["iptables"], become: true, become_method: sudo}
  14. - {role: rapid7, when: ansible_facts.os_family == "RedHat", tags : ["rapid7"], become: true, become_method: sudo}
  15. ...