Skip to content

Commit

Permalink
Remove redundant ansible_port variable (#85)
Browse files Browse the repository at this point in the history
Fixes #81 

- `ansible_port` is set to the default and there's no need to change it
so we can safely remove it
  • Loading branch information
p-j-smith authored Mar 25, 2024
1 parent 0576038 commit 97c2dc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions playbooks/molecule/resources/monitoring/inventory/hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ all:
mclient:
hostname: molecule.mclient.local
ansible_ip: 192.168.56.2
ansible_port: 22

mserv:
hostname: molecule.mserv.local
ansible_ip: 192.168.56.3
ansible_port: 22

# Ansible groups. Groups allow configuration and variables to be shared between hosts
# Variables in group_vars/all will be shared between all hosts
Expand Down
5 changes: 2 additions & 3 deletions playbooks/molecule/resources/xnat/inventory/hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,16 @@ all:
xnat_db:
hostname: "xnat.db.local"
ansible_ip: "192.168.56.2"
ansible_port: 22

# Host for your web server. Variables in host_vars/xnat_web will be available to this host
xnat_web:
hostname: "localhost" # necessary to allow redirects outside the Docker network and to avoid CORS issues inside the network
ansible_ip: "192.168.56.3"
ansible_port: 22

# Host for running the container service. Variables in host_vars/xnat_cserv will be available to this host
xnat_cserv:
hostname: "xnat.cserv.local"
ansible_ip: "192.168.56.4"
ansible_port: 22

# Ansible groups. Groups allow configuration and variables to be shared between hosts
# Variables in group_vars/all will be shared between all hosts
Expand Down

0 comments on commit 97c2dc8

Please sign in to comment.