Skip to content

Commit

Permalink
More DRY.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Feb 5, 2021
1 parent e0a1b86 commit 0b05302
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
become: yes
gather_facts: yes

vars:
_httpd_data_directory:
default: /var/www/html
Alpine: /var/www/localhost
Suse: /srv/www/htdocs

httpd_data_directory: "{{ _httpd_data_directory[ansible_os_family] | default(_httpd_data_directory['default']) }}"
vars_files: ../../vars/main.yml

tasks:
- name: check if ports are open
Expand Down

0 comments on commit 0b05302

Please sign in to comment.