Changeset - db859106bed8
[Not reviewed]
0 1 0
Branko Majic (branko) - 2 months ago 2024-09-02 23:16:51
branko@majic.rs
MAR-218: Document the workaround needed to make Molecule instance logins work:

- It should be possible to drop this workaround once the upstream has
taken care of merging the necessary fixes.
1 file changed with 9 insertions and 8 deletions:
0 comments (0 inline, 0 general)
docs/development.rst
Show inline comments
 
@@ -72,19 +72,20 @@ performing the following steps:
 
     workon majic-ansible-roles
 
     pip-sync
 

	
 
8. Patch the installed version of test runner (Molecule) for
 
   compatibility with newer versions of Vagrant (bundled Ruby):
 
8. Patch the installed version of test runner (Molecule) plugins until
 
   upstream merges the requried fixes for logging-in into Molecule
 
   Vagrant instances:
 

	
 
   .. note::
 
      This is an unfortunate consequence of *Majic Ansible Roles*
 
      being dependent on an old/deprecated version of Ansible. This
 
      will be addressed at some point in the future when the roles are
 
      moved over to being compatible with latest (and supported)
 
      versions of Ansible.
 
      For more details, see the following project links:
 

	
 
      - https://github.com/ansible-community/molecule-plugins/issues/239
 
      - https://github.com/ansible-community/molecule-plugins/pull/240
 
      - https://github.com/ansible-community/molecule-plugins/pull/260
 

	
 
   ::
 

	
 
      sed -i -e 's/ Hash\[/ **Hash[/' ~/.virtualenvs/majic-ansible-roles/lib/python3.9/site-packages/molecule/provisioner/ansible/plugins/libraries/molecule_vagrant.py
 
      sed -i -e 's/{{/{/g;s/}}/}/g' "$VIRTUAL_ENV/lib/python3."*"/site-packages/molecule_plugins/vagrant/driver.py"
 

	
 

	
 
Development conventions
0 comments (0 inline, 0 general)