Repos with recipes to deploy some infrastructure services
Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
|
- - 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
|