Skip to content

Commit

Permalink
Changed vars from list to dictionaries in playbooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Beck-Davis committed Jan 8, 2025
1 parent 3473282 commit 8d606cf
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions playbooks/aws_group_access.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
hosts: localhost
gather_facts: false
vars:
- pul_user: "{{ pul_group }}"
- dev_user: "{{ dev_user }}"
pul_user: "{{ pul_group }}"
dev_user: "{{ dev_user }}"
tasks:
- name: check for "{{ pul_group }}"
community.aws.iam_access_key_info:
Expand Down
6 changes: 3 additions & 3 deletions playbooks/ezproxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
remote_user: pulsys
become: true
vars:
- post_install: |
Possible Things left to do:
- run a cap for ezproxy
post_install: |
Possible Things left to do:
- run a cap for ezproxy
vars_files:
- ../group_vars/ezproxy/{{ runtime_env | default('testing') }}.yml
- ../group_vars/ezproxy/vault.yml
Expand Down
8 changes: 4 additions & 4 deletions playbooks/figgy_db_migration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
# where leader_db_host is defined for all pgsql machines
# to the vars_files: section
vars:
- deploy_user: "pulsys"
- file_path: "/mnt/diglibdata1/postgreslog/migrate"
- dest_file_path: "/var/lib/migrate"
- backup_time: "{{ ansible_date_time.date }}"
deploy_user: "pulsys"
file_path: "/mnt/diglibdata1/postgreslog/migrate"
dest_file_path: "/var/lib/migrate"
backup_time: "{{ ansible_date_time.date }}"
vars_files:
- ../group_vars/{{ project_name }}/{{ app_runtime_env | default(runtime_env) | default('staging') }}.yml
# - ../group_vars/{{ project_name }}/main.yml # some roles have this
Expand Down
12 changes: 6 additions & 6 deletions playbooks/friends_of_pul.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
remote_user: pulsys
become: true
vars:
- force_settings: true
- drupal_git_repo: ''
- post_install: |
Possible Things left to do:
- run a cap for friends_of_pul
- where needed make sure server is greenlisted on [lib-ponyexpress](https://github.com/pulibrary/pul-the-hard-way/blob/master/services/smtp-mail-server.md)
force_settings: true
drupal_git_repo: ''
post_install: |
Possible Things left to do:
- run a cap for friends_of_pul
- where needed make sure server is greenlisted on [lib-ponyexpress](https://github.com/pulibrary/pul-the-hard-way/blob/master/services/smtp-mail-server.md)
vars_files:
- ../group_vars/friends_of_pul/{{ runtime_env | default('staging') }}.yml
- ../group_vars/friends_of_pul/common.yml
Expand Down
2 changes: 1 addition & 1 deletion playbooks/lib_jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
remote_user: pulsys
become: true
vars:
- post_install: |
post_install: |
Possible Things left to do:
- deploy lib_jobs and aspace_helpers
vars_files:
Expand Down
6 changes: 3 additions & 3 deletions playbooks/libwww.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
remote_user: pulsys
become: true
vars:
- force_settings: true
- drupal_git_repo: ''
- post_install: |
force_settings: true
drupal_git_repo: ''
post_install: |
Possible Things left to do:
- run a cap for pul_library_drupal, discoveryutils
- where needed make sure server is greenlisted on [lib-ponyexpress](https://github.com/pulibrary/pul-the-hard-way/blob/master/services/smtp-mail-server.md)
Expand Down
6 changes: 3 additions & 3 deletions playbooks/pdc_describe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
- ../group_vars/pdc_describe/vault.yml

vars:
- post_install: |
Possible Things left to do:
- run a cap deploy for pdc_describe: https://github.com/pulibrary/pdc_describe
post_install: |
Possible Things left to do:
- run a cap deploy for pdc_describe: https://github.com/pulibrary/pdc_describe
roles:
- role: roles/mailcatcher
Expand Down
6 changes: 3 additions & 3 deletions playbooks/pdc_discovery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
- ../group_vars/pdc_discovery/vault.yml

vars:
- post_install: |
Possible Things left to do:
- run a cap deploy for pdc_discovery: https://github.com/pulibrary/pdc_discovery
post_install: |
Possible Things left to do:
- run a cap deploy for pdc_discovery: https://github.com/pulibrary/pdc_discovery
roles:
- role: roles/mailcatcher
Expand Down

0 comments on commit 8d606cf

Please sign in to comment.