Updating the all file

Last Updated : Nov 23, 2022 |

About this task

After updating the mega-config.yml file, provide the deployment environment details in the all file.

Before you begin

Update the mega-config.yml file.

Procedure

  1. Do one of the following:
    • Open the console on the active Configuration Server.

    • Use the SSH client to log in to the active Configuration Server.

  2. In the command prompt, run the following command:

    cd mega/ansible_playbook/mega_deploy/group_vars/

  3. To open the all file for editing, run the following command:

    vi all

  4. In the all file, specify the deployment variables for your deployment environment.

    To see examples of the all file configuration for different deployment environments, see the examples in Appendix C: Configuration file examples.

  5. To save the file, run the following command:

    :wq!