Improve tags in java-deptools role
This commit is contained in:
parent
995a1bc358
commit
debefd5bd9
1 changed files with 7 additions and 3 deletions
|
@ -25,19 +25,19 @@
|
||||||
environment:
|
environment:
|
||||||
PGSETUP_INITDB_OPTIONS: --locale C
|
PGSETUP_INITDB_OPTIONS: --locale C
|
||||||
tags:
|
tags:
|
||||||
- postgresql
|
- postgres
|
||||||
|
|
||||||
- name: Install pg_hba
|
- name: Install pg_hba
|
||||||
copy: src=pg_hba.conf dest=/var/lib/pgsql/data/pg_hba.conf
|
copy: src=pg_hba.conf dest=/var/lib/pgsql/data/pg_hba.conf
|
||||||
tags:
|
tags:
|
||||||
- postgres
|
- postgres
|
||||||
- configuration
|
- config
|
||||||
|
|
||||||
- name: Enable and start postgres
|
- name: Enable and start postgres
|
||||||
service: name=postgresql state=started enabled=yes
|
service: name=postgresql state=started enabled=yes
|
||||||
tags:
|
tags:
|
||||||
- service
|
- service
|
||||||
- postgresql
|
- postgres
|
||||||
|
|
||||||
- name: Create postgres java-deptools role
|
- name: Create postgres java-deptools role
|
||||||
postgresql_user: name=java-deptools role_attr_flags=SUPERUSER,LOGIN
|
postgresql_user: name=java-deptools role_attr_flags=SUPERUSER,LOGIN
|
||||||
|
@ -83,11 +83,15 @@
|
||||||
|
|
||||||
- name: Install proxy config
|
- name: Install proxy config
|
||||||
copy: src=proxy.conf dest=/etc/httpd/conf.d/java-deptools-proxy.conf
|
copy: src=proxy.conf dest=/etc/httpd/conf.d/java-deptools-proxy.conf
|
||||||
|
tags:
|
||||||
|
- config
|
||||||
|
|
||||||
- name: Set httpd sebools
|
- name: Set httpd sebools
|
||||||
seboolean: name={{ item }} state=yes persistent=yes
|
seboolean: name={{ item }} state=yes persistent=yes
|
||||||
with_items:
|
with_items:
|
||||||
- httpd_can_network_relay
|
- httpd_can_network_relay
|
||||||
|
tags:
|
||||||
|
- selinux
|
||||||
|
|
||||||
- name: Enable and start httpd
|
- name: Enable and start httpd
|
||||||
service: name=httpd state=started enabled=true
|
service: name=httpd state=started enabled=true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue