Skip to content

Commit

Permalink
Use long options in the cyhy_dashboard Ansible role
Browse files Browse the repository at this point in the history
Convert any remaining short options to their long counterparts.
  • Loading branch information
mcdonnnj committed Nov 28, 2023
1 parent f0d5b9e commit 423de11
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/cyhy_dashboard/files/ncats-webd.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ Type=simple
Restart=always
RestartSec=1
User=cyhy
ExecStart=/usr/local/bin/ncats-webd -ls production
ExecStart=/usr/local/bin/ncats-webd --local --section production
2 changes: 1 addition & 1 deletion ansible/roles/cyhy_dashboard/files/ncats-webui.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ Type=simple
Restart=on-failure
RestartSec=10
User=cyhy
ExecStart=/usr/bin/make -C /var/cyhy/ncats-webui/ dev-start
ExecStart=/usr/bin/make --directory /var/cyhy/ncats-webui/ dev-start
2 changes: 1 addition & 1 deletion ansible/roles/cyhy_dashboard/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

- name: Create random secret key for webd
ansible.builtin.shell:
cmd: head -c 24 /dev/urandom > /var/cyhy/web/secret_key
cmd: head --bytes 24 /dev/urandom > /var/cyhy/web/secret_key
creates: /var/cyhy/web/secret_key
become_method: ansible.builtin.sudo
become_user: cyhy
Expand Down

0 comments on commit 423de11

Please sign in to comment.