Просмотр исходного кода

Update configuring-playbook.md

Updated description to include the new initialize.sh file.
pull/920/head
Zev Lee 5 лет назад
committed by GitHub
Родитель
Сommit
763c1f4f37
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 4AEE18F83AFDEB23
1 измененных файлов: 1 добавлений и 12 удалений
  1. +1
    -12
      docs/configuring-playbook.md

+ 1
- 12
docs/configuring-playbook.md Просмотреть файл

@@ -6,18 +6,7 @@ To configure the playbook, you need to have done the following things:
- [configured your DNS records](configuring-dns.md)
- [retrieved the playbook's source code](getting-the-playbook.md) to your computer

You can then follow these steps inside the playbook directory:

- create a directory to hold your configuration (`mkdir inventory/host_vars/matrix.<your-domain>`)

- copy the sample configuration file (`cp examples/vars.yml inventory/host_vars/matrix.<your-domain>/vars.yml`)

- edit the configuration file (`inventory/host_vars/matrix.<your-domain>/vars.yml`) to your liking. You may also take a look at the various `roles/ROLE_NAME_HERE/defaults/main.yml` files and see if there's something you'd like to copy over and override in your `vars.yml` configuration file.

- copy the sample inventory hosts file (`cp examples/hosts inventory/hosts`)

- edit the inventory hosts file (`inventory/hosts`) to your liking

You can then initialize the the configuration files `vars.yml` and `hosts` by running `./initialize.sh`. If you need to change the variables, you can opt to run the script again.

For a basic Matrix installation, that's all you need.
For a more custom setup, see the [Other configuration options](#other-configuration-options) below.


Загрузка…
Отмена
Сохранить