services
This commit is contained in:
@@ -1,8 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: control
|
|
||||||
become: true
|
|
||||||
tasks:
|
|
||||||
- name: install tools
|
|
||||||
apt: name={{item}} state=present update_cache=yes
|
|
||||||
with_items:
|
|
||||||
- uacme
|
|
||||||
8
examples/004_services/hosts
Normal file
8
examples/004_services/hosts
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[database]
|
||||||
|
192.168.11.20
|
||||||
|
|
||||||
|
[loadbalancer]
|
||||||
|
192.168.11.30
|
||||||
|
|
||||||
|
[webserver]
|
||||||
|
192.168.11.40
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
with_items:
|
with_items:
|
||||||
- apache2
|
- apache2
|
||||||
- libapache2-mod-wsgi-py3
|
- libapache2-mod-wsgi-py3
|
||||||
- python-pip-whl
|
- python3-pip-whl
|
||||||
- python3-virtualenv
|
- python3-virtualenv
|
||||||
|
|
||||||
- name: ensure apache2 started
|
- name: ensure apache2 started
|
||||||
|
|||||||
Reference in New Issue
Block a user