Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skylarkの再インストールに気づいた点の修正 #158

Merged
merged 3 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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