Changeset - 2dbb1429ac15
[Not reviewed]
0 1 0
Branko Majic (branko) - 5 years ago 2020-11-10 23:31:47
branko@majic.rs
MAR-172: Use Python 3 version of pexpect for TBG deployment in the usage instructions.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
docs/usage.rst
Show inline comments
 
@@ -1589,13 +1589,13 @@ Before we start, here is a couple of useful pointers regarding the
 
          mode: 0640
 
          owner: admin-tbg_example_com
 
          group: web-tbg_example_com
 

	
 
      - name: Install pexpect package
 
        apt:
 
          name: python-pexpect
 
          name: python3-pexpect
 
          state: present
 

	
 
      - name: Deploy expect script for installing TBG
 
        copy:
 
          src: "tbg_expect_install"
 
          dest: "/var/www/tbg.example.com/tbg_expect_install"
 
@@ -1624,13 +1624,13 @@ Before we start, here is a couple of useful pointers regarding the
 
          tableprefix: ''
 
          cacheclass: '\thebuggenie\core\framework\Cache'
 

	
 
   :file:`~/mysite/roles/tbg/files/tbg_expect_install`
 
   ::
 

	
 
      #!/usr/bin/env python
 
      #!/usr/bin/env python3
 

	
 
      import pexpect
 

	
 
      # Spawn the process.
 
      install_process = pexpect.spawnu('./tbg_cli', args = ["install",
 
                                                                        "--accept_license=yes",
0 comments (0 inline, 0 general)