Skip to content

Commit

Permalink
ナウいPlaybookとinventory
Browse files Browse the repository at this point in the history
  • Loading branch information
Akkiesoft committed May 6, 2021
1 parent 74af5de commit 3157436
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion ansible/roles/common/tasks/install.yml
Expand Up @@ -19,7 +19,7 @@
systemd:
name: "{{ item }}"
enabled: yes
with_items:
loop:
- atd
- avahi-daemon
- nginx
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/common/tasks/webserver.yml
Expand Up @@ -2,7 +2,7 @@
pear:
name: "{{ item }}"
state: present
with_items:
loop:
- HTTP_Request2
- HTTP_OAuth-0.3.2
become: yes
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/wifi/tasks/main.yml
Expand Up @@ -21,7 +21,7 @@
mode: 0600
owner: root
group: root
with_items: "{{ wifi }}"
loop: "{{ wifi }}"
notify: restart network-manager
become: yes

Expand All @@ -30,7 +30,7 @@
src: "{{ item.src }}"
dest: "{{ item.dest }}"
backup: yes
with_items:
loop:
- src: interfaces
dest: /etc/network/interfaces
- src: wpa_supplicant.conf
Expand Down

0 comments on commit 3157436

Please sign in to comment.