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.
|
- - 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
|