瀏覽代碼

Hosts are now under the [sovereign] group

Allows hosts to use vars in `group_vars/sovereign`
Allen Riddell 9 年之前
父節點
當前提交
06f43905c9
共有 2 個文件被更改,包括 4 次插入3 次删除
  1. 4
    2
      hosts
  2. 0
    1
      site.yml

+ 4
- 2
hosts 查看文件

1
-[TODO]
2
-TODO # put your host's IP here
1
+[sovereign]
2
+# hosts in the `sovereign` group  use vars defined in `group_vars/sovereign`
3
+# put your host's IP address or domain name below
4
+host.example.net

+ 0
- 1
site.yml 查看文件

2
 # This is the top-level playbook that defines our entire infrastructure.
2
 # This is the top-level playbook that defines our entire infrastructure.
3
 
3
 
4
 - hosts: all
4
 - hosts: all
5
-  user: deploy
6
   become: True
5
   become: True
7
   gather_facts: True
6
   gather_facts: True
8
   vars_files:
7
   vars_files:

Loading…
取消
儲存