Example #1
0
def install_nginx(user=None):
    run_playbook('site.yml', extra_vars=extra_vars, tag='nginx')
    if user:
        setup_sudoers(user)
Example #2
0
def setup_sudoers(user):
    "Add commands to sudoers list for execution without password"
    from bench.utils import setup_sudoers
    setup_sudoers(user)
Example #3
0
def setup_sudoers(user):
	"Add commands to sudoers list for execution without password"
	from bench.utils import setup_sudoers
	setup_sudoers(user)
Example #4
0
def install_supervisor(user=None):
    run_playbook('site.yml', extra_vars=extra_vars, tag='supervisor')
    if user:
        setup_sudoers(user)
def install_nginx(user=None):
    run_playbook('prerequisites/install_roles.yml',
                 extra_vars=extra_vars,
                 tag='nginx')
    if user:
        setup_sudoers(user)
Example #6
0
def setup_sudoers(user):
    from bench.utils import setup_sudoers
    setup_sudoers(user)
def install_supervisor(user=None):
    run_playbook('prerequisites/install_roles.yml',
                 extra_vars=extra_vars,
                 tag='supervisor')
    if user:
        setup_sudoers(user)
Example #8
0
def install_nginx(user=None):
	run_playbook('site.yml', extra_vars=extra_vars, tag='nginx')
	if user:
		setup_sudoers(user)
Example #9
0
def install_supervisor(user=None):
	run_playbook('site.yml', extra_vars=extra_vars, tag='supervisor')
	if user:
		setup_sudoers(user)
Example #10
0
def install_nginx(user=None):
	run_playbook('prerequisites/install_roles.yml', extra_vars=extra_vars, tag='nginx')
	if user:
		setup_sudoers(user)
Example #11
0
def install_supervisor(user=None):
	run_playbook('prerequisites/install_roles.yml', extra_vars=extra_vars, tag='supervisor')
	if user:
		setup_sudoers(user)