Skip to content

Commit

Permalink
Use matrix.image properly
Browse files Browse the repository at this point in the history
  • Loading branch information
dlundgren committed Jun 7, 2024
1 parent 3a97528 commit 9055c75
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
strategy:
fail-fast: false
matrix:
config:
- image: amazonlinux2
- image: ubuntu2204
- image: rockylinux8
image:
- amazonlinux2
- ubuntu2204
- rockylinux8
steps:
- name: checkout
uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ bigfix_client_server_name: bigfix.example.com
bigfix_client_server_port: 52311
bigfix_client_service_name: besclient

bigfix_client_masthead_url: "http://{{ bigfix_client_server_name }}:{{ bigfix_client_server_port }}/masthead/masthead.afxm"

Check failure on line 7 in defaults/main.yml

View workflow job for this annotation

GitHub Actions / lint

yaml[line-length]

Line too long (123 > 120 characters)

__bigfix_ansible_distro_arch: "{{ ansible_distribution_version.split('.')[0] }}-{{ ansible_architecture }}"
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
- name: Download masthead from BigFix Server
when: not masthead_file.stat.exists
ansible.builtin.get_url:
url: "http://{{ bigfix_client_server_name }}:{{ bigfix_client_server_port }}/masthead/masthead.afxm"
url: "{{ bigfix_client_masthead_url }}"
dest: "{{ bigfix_client_conf_dir }}/actionsite.afxm"
mode: "0644"
mode: "644"
notify:
- Restart bigfix-client

0 comments on commit 9055c75

Please sign in to comment.