Skip to content

Commit

Permalink
tm.hayaworld.localのtasksのLint結果を反映
Browse files Browse the repository at this point in the history
  • Loading branch information
cradle8810 committed Apr 23, 2024
1 parent ede4d11 commit 0c7ea14
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions tm.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
- hosts: tm
- name: Play for tm.hayaworld.local
hosts: tm
remote_user: hayato
gather_facts: false
become: true
Expand All @@ -9,7 +10,9 @@
- inventories/host_vars/networks.yml

handlers:
- include: handlers/main.yml
- name: Restart handler tasks
ansible.builtin.import_tasks:
file: handlers/main.yml

tasks:
- name: Set Hostname
Expand All @@ -18,9 +21,11 @@
tags:
- network

- include: tasks/authorized_keys.yml
- name: Put authorized Key
ansible.builtin.import_tasks:
file: tasks/authorized_keys.yml

- name: put motd
- name: Put motd
ansible.builtin.copy:
src: templates/tm/etc/motd
dest: /etc/motd
Expand Down

0 comments on commit 0c7ea14

Please sign in to comment.