mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
DCD-880: Create role to run slingshot and implement task to install
slingshot on amazon linux
This commit is contained in:
10
roles/create_backups/molecule/default/tests/test_default.py
Normal file
10
roles/create_backups/molecule/default/tests/test_default.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import os
|
||||
|
||||
import testinfra.utils.ansible_runner
|
||||
|
||||
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
||||
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
|
||||
|
||||
|
||||
def test_slingshot_installed(host):
|
||||
assert host.file('/usr/bin/atlassian-slingshot').exists
|
||||
Reference in New Issue
Block a user