Repos with recipes to deploy some infrastructure services
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

22 rader
533 B

  1. - name: Ensure directory exists
  2. file:
  3. path: "{{ Rapid7Dir }}"
  4. state: directory
  5. - name: Copy Agent installer in host
  6. copy:
  7. src: "{{ Rapid7_install_script }}"
  8. dest: "{{ Rapid7Dir }}/{{ Rapid7_install_script }}"
  9. mode: '0550'
  10. - name: Run installer script
  11. shell: "{{ Rapid7Dir }}/{{ Rapid7_install_script }} install --token {{ R7Token }}"
  12. args:
  13. creates: "{{ Rapid7Dir }}/ir_agent"
  14. - name: Enable and start service
  15. service:
  16. name: ir_agent
  17. state: started
  18. enabled: yes