Last active
October 9, 2020 17:27
-
-
Save ztraboo/5ac79974d9d62b631fb8ae0b7e43879e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Test to build out lms.yml | |
- hosts: all | |
gather_facts: False | |
vars: | |
COMMON_CONFIG_NO_LOGGING: False | |
EDXAPP_EDXAPP_SECRET_KEY: 'DUMMY KEY ONLY FOR TO TESTING' | |
NGINX_ENABLE_SSL: True | |
roles: | |
- edxapp | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(edx_ansible) edx-ansible@lms:~/edx_ansible/playbooks$ ansible-playbook --become-user=$(whoami) -vvv -c local -i 'localhost,' --tags edxapp_cfg_test ./edxapp_test_env.yml -e common_web_group=$(whoami) | |
/edx/app/edx_ansible/venvs/edx_ansible/local/lib/python2.7/site-packages/cryptography/__init__.py:39: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release. | |
CryptographyDeprecationWarning, | |
ansible-playbook 2.7.18 | |
config file = /edx/app/edx_ansible/edx_ansible/playbooks/ansible.cfg | |
configured module search path = [u'/edx/app/edx_ansible/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] | |
ansible python module location = /edx/app/edx_ansible/venvs/edx_ansible/local/lib/python2.7/site-packages/ansible | |
executable location = /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook | |
python version = 2.7.12 (default, Jul 21 2020, 15:19:50) [GCC 5.4.0 20160609] | |
Using /edx/app/edx_ansible/edx_ansible/playbooks/ansible.cfg as config file | |
Parsed localhost, inventory source with host_list plugin | |
statically imported: /edx/app/edx_ansible/edx_ansible/playbooks/roles/security/tasks/security-ubuntu.yml | |
statically imported: /edx/app/edx_ansible/edx_ansible/playbooks/roles/security/tasks/security-amazon.yml | |
statically imported: /edx/app/edx_ansible/edx_ansible/playbooks/roles/edxapp/tasks/python_sandbox_env.yml | |
statically imported: /edx/app/edx_ansible/edx_ansible/playbooks/roles/edxapp/tasks/deploy.yml | |
statically imported: /edx/app/edx_ansible/edx_ansible/playbooks/roles/edxapp/tasks/service_variant_config.yml | |
statically imported: /edx/app/edx_ansible/edx_ansible/playbooks/roles/edxapp/tasks/tag_ec2.yml | |
PLAYBOOK: edxapp_test_env.yml *************************************************************************************************************************************************** | |
1 plays in ./edxapp_test_env.yml | |
PLAY [all] ********************************************************************************************************************************************************************** | |
META: ran handlers | |
TASK [edxapp : combined lms auth env for yml] *********************************************************************************************************************************** | |
task path: /edx/app/edx_ansible/edx_ansible/playbooks/roles/edxapp/tasks/service_variant_config.yml:19 | |
ok: [localhost] => { | |
"ansible_facts": { | |
"lms_combined_config": { | |
"DCS_SESSION_COOKIE_SAMESITE": "Lax", | |
"DCS_SESSION_COOKIE_SAMESITE_FORCE_ALL": true, | |
} | |
}, | |
"changed": false | |
} | |
META: ran handlers | |
META: ran handlers | |
PLAY RECAP ********************************************************************************************************************************************************************** | |
localhost : ok=1 changed=0 unreachable=0 failed=0 | |
(edx_ansible) edx-ansible@lms:~/edx_ansible/playbooks$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(edx_ansible) edx-ansible@lms:~/edx_ansible/playbooks$ ansible-playbook --become-user=$(whoami) -vvv -c local -i 'localhost,' --tags edxapp_cfg_test ./edxapp_test_env.yml -e common_web_group=$(whoami) | |
/edx/app/edx_ansible/venvs/edx_ansible/local/lib/python2.7/site-packages/cryptography/__init__.py:39: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release. | |
CryptographyDeprecationWarning, | |
ansible-playbook 2.7.18 | |
config file = /edx/app/edx_ansible/edx_ansible/playbooks/ansible.cfg | |
configured module search path = [u'/edx/app/edx_ansible/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] | |
ansible python module location = /edx/app/edx_ansible/venvs/edx_ansible/local/lib/python2.7/site-packages/ansible | |
executable location = /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook | |
python version = 2.7.12 (default, Jul 21 2020, 15:19:50) [GCC 5.4.0 20160609] | |
Using /edx/app/edx_ansible/edx_ansible/playbooks/ansible.cfg as config file | |
Parsed localhost, inventory source with host_list plugin | |
statically imported: /edx/app/edx_ansible/edx_ansible/playbooks/roles/security/tasks/security-ubuntu.yml | |
statically imported: /edx/app/edx_ansible/edx_ansible/playbooks/roles/security/tasks/security-amazon.yml | |
statically imported: /edx/app/edx_ansible/edx_ansible/playbooks/roles/edxapp/tasks/python_sandbox_env.yml | |
statically imported: /edx/app/edx_ansible/edx_ansible/playbooks/roles/edxapp/tasks/deploy.yml | |
statically imported: /edx/app/edx_ansible/edx_ansible/playbooks/roles/edxapp/tasks/service_variant_config.yml | |
statically imported: /edx/app/edx_ansible/edx_ansible/playbooks/roles/edxapp/tasks/tag_ec2.yml | |
PLAYBOOK: edxapp_test_env.yml *************************************************************************************************************************************************** | |
1 plays in ./edxapp_test_env.yml | |
PLAY [all] ********************************************************************************************************************************************************************** | |
META: ran handlers | |
TASK [edxapp : combined lms auth env for yml] *********************************************************************************************************************************** | |
task path: /edx/app/edx_ansible/edx_ansible/playbooks/roles/edxapp/tasks/service_variant_config.yml:19 | |
ok: [localhost] => { | |
"ansible_facts": { | |
"lms_combined_config": { | |
"DCS_SESSION_COOKIE_SAMESITE": "None", | |
"DCS_SESSION_COOKIE_SAMESITE_FORCE_ALL": true, | |
} | |
}, | |
"changed": false | |
} | |
META: ran handlers | |
META: ran handlers | |
PLAY RECAP ********************************************************************************************************************************************************************** | |
localhost : ok=1 changed=0 unreachable=0 failed=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment