Adjusted cfg. Changed hosts on Winlogbeat. POC for Jenkins is working
This commit is contained in:
parent
9a21fd3da7
commit
a26ed9ca32
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
# some basic default values...
|
# some basic default values...
|
||||||
|
|
||||||
inventory = ~/hosts.d/
|
inventory = ./hosts.d/
|
||||||
library = /usr/share/my_modules/
|
library = /usr/share/my_modules/
|
||||||
module_utils = /usr/share/my_module_utils/
|
module_utils = /usr/share/my_module_utils/
|
||||||
remote_tmp = ~/.ansible/tmp
|
remote_tmp = ~/.ansible/tmp
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Install WinLogBeat
|
- name: Install WinLogBeat
|
||||||
hosts: elasticClients
|
hosts: windows
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Install WinLogBeat
|
- name: Install WinLogBeat
|
||||||
|
@ -8,14 +8,20 @@
|
|||||||
- name: Install Java
|
- name: Install Java
|
||||||
become: yes
|
become: yes
|
||||||
import_role:
|
import_role:
|
||||||
name: geerlingguy.java
|
name: geerlingguy.java
|
||||||
|
|
||||||
# https://galaxy.ansible.com/geerlingguy/jenkins
|
- name: Install Jenkins
|
||||||
- name: Install Jenkins
|
become: yes
|
||||||
become: yes
|
import_role:
|
||||||
import_role:
|
name: geerlingguy.jenkins
|
||||||
name: geerlingguy.jenkins
|
vars:
|
||||||
vars:
|
jenkins_package_state: latest
|
||||||
jenkins_package_state: latest
|
jenkins_http_port: 8080
|
||||||
jenkins_http_port: 8080
|
|
||||||
|
- name: UFW Allow Jenkins
|
||||||
|
become: yes
|
||||||
|
ufw:
|
||||||
|
rule: allow
|
||||||
|
port: 8080
|
||||||
|
comment: Jenkins
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user