Resources attached to the Road To DevOps tutorial
https://blog.noobtoroot.xyz/road-to-devops/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
555 B
32 lines
555 B
|
|
- name: Enable EPEL Repository on CentOS 7 |
|
yum: |
|
name: epel-release |
|
state: latest |
|
|
|
|
|
- name: install mariadb-server |
|
yum: |
|
name: |
|
- epel-release |
|
- postgresql |
|
- postgresql-server |
|
- python-setuptools |
|
- python-psycopg2 |
|
- python2 |
|
- python2-pip |
|
state: present |
|
update_cache: yes |
|
|
|
- name: |
|
service: |
|
name: postgresql |
|
state: started |
|
enabled: yes |
|
|
|
- name: |
|
firewalld: |
|
port: 5432/tcp |
|
permanent: true |
|
state: enabled |
|
immediate: yes
|
|
|