Repos with recipes to deploy some infrastructure services
Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
|
- - name: Ensure directory exists
- file:
- path: "{{ Rapid7Dir }}"
- state: directory
-
- - name: Copy Agent installer in host
- copy:
- src: "{{ Rapid7_install_script }}"
- dest: "{{ Rapid7Dir }}/{{ Rapid7_install_script }}"
- mode: '0550'
-
- - name: Run installer script
- shell: "{{ Rapid7Dir }}/{{ Rapid7_install_script }} install --token {{ R7Token }}"
- args:
- creates: "{{ Rapid7Dir }}/ir_agent"
-
- - name: Enable and start service
- service:
- name: ir_agent
- state: started
- enabled: yes
|