Skip to content

Commit

Permalink
update call of wg-conf-gen
Browse files Browse the repository at this point in the history
  • Loading branch information
Grotax committed Jul 3, 2024
1 parent f3a7d52 commit 1b4ddfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/wireguardexit/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
version: main

- name: Run inital config generation

Check warning on line 12 in roles/wireguardexit/tasks/install.yml

View workflow job for this annotation

GitHub Actions / build

jinja[spacing]

Jinja2 spacing could be improved: python3 /opt/wg-conf-gen/wg-conf-gen.py create --pk {{ wg_pk }} --address {{ wg_address }} --country {{ wg_country }} --city {{ wg_city }} --device "{{ wg_device| default('Unkown') }}" -> python3 /opt/wg-conf-gen/wg-conf-gen.py create --pk {{ wg_pk }} --address {{ wg_address }} --country {{ wg_country }} --city {{ wg_city }} --device "{{ wg_device | default('Unkown') }}"

Check failure on line 12 in roles/wireguardexit/tasks/install.yml

View workflow job for this annotation

GitHub Actions / build

no-changed-when

Commands should not change things if nothing needs doing.
ansible.builtin.command: python3 /opt/wg-conf-gen/wg-conf-gen.py --pk {{ wg_pk }} --address {{ wg_address }} --country {{ wg_country }} --city {{ wg_city }} --device "{{ wg_device| default('Unkown') }}"
ansible.builtin.command: python3 /opt/wg-conf-gen/wg-conf-gen.py create --pk {{ wg_pk }} --address {{ wg_address }} --country {{ wg_country }} --city {{ wg_city }} --device "{{ wg_device| default('Unkown') }}"

Check failure on line 13 in roles/wireguardexit/tasks/install.yml

View workflow job for this annotation

GitHub Actions / build

yaml[line-length]

Line too long (211 > 160 characters)

- name: Re-start and enable wireguard service
ansible.builtin.systemd:
Expand Down

0 comments on commit 1b4ddfb

Please sign in to comment.