diff --git a/docs/documentation/modules/ROOT/pages/020-export.adoc b/docs/documentation/modules/ROOT/pages/020-export.adoc index 6344c4f..7296f05 100644 --- a/docs/documentation/modules/ROOT/pages/020-export.adoc +++ b/docs/documentation/modules/ROOT/pages/020-export.adoc @@ -99,61 +99,9 @@ As this file is containing sensitive information, it needs to be encrypted using [.console-input] [source,console] ---- -echo ${VAULT_PASSWORD} > .vault-password -ansible-vault encrypt --vault-password-file .vault-password my_vars/vault-awx.yaml - -cat > my_vars/paths-awx.yaml < .vault-password +$ chmod 0600 .vault-password +$ ansible-vault encrypt --vault-password-file .vault-password my_vars/vault-awx.yaml ---- == Run the exportation process @@ -167,7 +115,7 @@ ansible-navigator run playbooks/config-controller-export.yaml \ -m stdout \ --eei quay.io/automationiberia/casc/ee-casc:summit24 \ --eev /tmp/:/tmp/ \ - -e @vars/vault-awx.yaml \ + -e @my_vars/vault-awx.yaml \ --vault-password-file .vault-password \ -e '{ ansible_async_dir: /home/runner/.ansible_async/, diff --git a/docs/documentation/modules/ROOT/pages/021-organize.adoc b/docs/documentation/modules/ROOT/pages/021-organize.adoc index e69de29..ccf090e 100644 --- a/docs/documentation/modules/ROOT/pages/021-organize.adoc +++ b/docs/documentation/modules/ROOT/pages/021-organize.adoc @@ -0,0 +1,100 @@ +include::_attributes.adoc[] + +== Paths configuration + +The exportation process has left the generated files at `/tmp/filetree-output`. These are organized in the following way: + +[.console-input] +[source,console] +---- +/tmp/filetree-output +├── ORGANIZATION-N-NAME +│   ├── credentials +│   │   └── ID_ORGANIZATION-N-NAME-Credential Name.yaml +│   ├── current_organization.yaml +│   ├── inventories +│   │   └── ORGANIZATION-N-NAME-Inventory Name +│   │   ├── ID_ORGANIZATION-N-NAME-Inventory Name.yaml +│   │   └── current_hosts.yaml +│   ├── job_templates +│   │   └── ID_ORGANIZATION-N-NAME-Job Template Name.yaml +│   ├── projects +│   │   └── ID_ORGANIZATION-N-NAME-Project Name.yaml +│   └── teams +│   └── ID_ORGANIZATION-N-NAME-Team Name.yaml +├── current_credential_types.yaml +├── current_instance_groups.yaml +├── current_settings.yaml +├── ORGANIZATIONLESS +│   └── users +│   ├── admin.yaml +│   └── ORGANIZATION-N-NAME-org-user.yaml +├── schedules +│   ├── ID_Cleanup Job Schedule.yaml +│   ├── ID_Cleanup Activity Schedule.yaml +│   ├── ID_Cleanup Expired Sessions.yaml +│   └── ID_Cleanup Expired OAuth 2 Tokens.yaml +├── team_roles +│   └── current_roles_ORGANIZATION-N-NAME-team.yaml +└── user_roles + └── current_roles_ORGANIZATION-N-NAME-user.yaml +---- + +These files can be used directly from the `/tmp/filtree-output` directory or, preferable, they can be copied to a git repository. + +[.console-input] +[source,console] +---- +$ cat > my_vars/paths-awx.yaml <