Changeset - b46fe4ab1956
[Not reviewed]
0 1 0
Branko Majic (branko) - 4 years ago 2021-01-07 06:01:38
branko@majic.rs
MAR-160: Minor fixes while preparing the machines:

- Use the correct path for initialised CA hierarchy.
- Remove the ss utility instead of renaming it in order to avoid
issues when rerunning the prepare step during testing.
1 file changed with 5 insertions and 3 deletions:
0 comments (0 inline, 0 general)
roles/common/molecule/default/prepare.yml
Show inline comments
 
@@ -9,7 +9,7 @@
 
    - name: Initialise CA hierarchy
 
      command: "gimmecert init --ca-hierarchy-depth 2"
 
      args:
 
        creates: "tests/data/.gimmecert"
 
        creates: ".gimmecert/ca/level1.cert.pem"
 
        chdir: "tests/data/"
 

	
 
    - name: Set-up link to generated X.509 material
 
@@ -46,5 +46,7 @@
 
  become: true
 
  tasks:
 

	
 
    - name: Rename the ss utility (see https://github.com/philpep/testinfra/pull/320)
 
      command: "mv /bin/ss /bin/ss.bak"
 
    - name: Remove the ss utility (see https://github.com/philpep/testinfra/pull/320)
 
      file:
 
        path: "/bin/ss"
 
        state: absent
0 comments (0 inline, 0 general)