Skip to content

Commit

Permalink
almost got site3 to run, /etc/hosts failing
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarez89 committed Feb 8, 2021
1 parent 19fc237 commit 66c16d3
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions config-postgresql.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- hosts: POSTGRESQL_DATABASES
roles:
- { role: common }
- { role: anxs.postgresql, become: yes }
5 changes: 3 additions & 2 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
- name: Converge
hosts: all
- import_playbook: ../../full-site.yml
hosts:
- all
- import_playbook: ../../site3.yml
8 changes: 8 additions & 0 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,15 @@ platforms:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
pre_build_image: true
groups:
- ECHALOASUERTE
- POSTGRESQL_DATABASES
provisioner:
name: ansible
inventory:
group_vars:
all:
ansible_python_interpreter: "/usr/bin/python3"

verifier:
name: ansible
1 change: 1 addition & 0 deletions roles/common/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- curl
- fail2ban
- jq
- gpg-agent
state: present
update-cache: yes
become: yes
Expand Down
4 changes: 4 additions & 0 deletions roles/users/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---
- debug:
var: ansible_python_interpreter
- setup:

- name: Create dev group
group:
name: dev
Expand Down

0 comments on commit 66c16d3

Please sign in to comment.