Skip to content

Commit

Permalink
Merge pull request #158 from cradle8810/skylark_reinstall
Browse files Browse the repository at this point in the history
Skylarkの再インストールに気づいた点の修正
  • Loading branch information
cradle8810 authored May 14, 2024
2 parents 987b20a + 218497d commit 4786726
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion inventories/host_vars/skylark.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
drives:
skylark:
uuid: a2288da0-8a90-4f96-ac3a-a859f01ac187
uuid: e456364a-f704-4602-9962-334898e05359
mountpoint: /skylark
filesystem: "xfs"
options: "defaults,noatime"
Expand Down
4 changes: 0 additions & 4 deletions skylark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@
ansible.builtin.import_tasks:
file: tasks/skylark/mount.yml

- name: Set XFS tuning
ansible.builtin.import_tasks:
file: tasks/skylark/xfs_tuning.yml

- name: Set samba
ansible.builtin.import_tasks:
file: tasks/skylark/samba.yml
Expand Down
4 changes: 2 additions & 2 deletions tasks/skylark/mount.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
src: "UUID={{ drives.skylark.uuid }}"
fstype: "{{ drives.skylark.filesystem }}"
opts: "{{ drives.skylark.options }}"
state: present
state: mounted

- name: Mount up device backup
ansible.posix.mount:
path: "{{ drives.backup.mountpoint }}"
src: "UUID={{ drives.backup.uuid }}"
fstype: "{{ drives.backup.filesystem }}"
opts: "{{ drives.backup.options }}"
state: present
state: mounted

0 comments on commit 4786726

Please sign in to comment.