feat(actions): Adds actions & lint (#1)
All checks were successful
Master branch: build & lint / build (push) Successful in 1m0s
All checks were successful
Master branch: build & lint / build (push) Successful in 1m0s
Adds an action to perform some linting actions on ansible and the yaml files, both on push onto master and on pull requests Reviewed-on: #1
This commit is contained in:
parent
9dc88072d5
commit
93bb0b0742
18 changed files with 306 additions and 39 deletions
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
- name: "Install ntp"
|
||||
apt:
|
||||
ansible.builtin.apt:
|
||||
name: ntp
|
||||
state: present
|
||||
- name: "Configure ntp"
|
||||
copy:
|
||||
ansible.builtin.copy:
|
||||
src: ntp.conf
|
||||
dest: /etc/ntp.conf
|
||||
owner: root
|
||||
|
@ -17,8 +17,8 @@
|
|||
notify: "Restart ntp"
|
||||
# Here you say that you want the NTP service to be restarted as well
|
||||
# as enabled on boot.
|
||||
- name: "ntp service"
|
||||
service:
|
||||
- name: "NTP service"
|
||||
ansible.builtin.service:
|
||||
name: ntp
|
||||
state: restarted
|
||||
enabled: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue