Skip to content

Test changing bootstrap_user #25

Open
@martbhell

Description

@martbhell

Background:

Currently in CI/testing for ansible-role-users we use Travis+Docker. Travis currently has Ubuntu 14.? as the base OS, inside that we create and launch Docker images of CentOS and Ubuntu.
Inside those containers we run ansible with connection=local 1 and user: root like so:

 ansible-playbook -i ${ANSIBLE_INVENTORY} ${ANSIBLE_PLAYBOOk} ${ANSIBLE_LOG_LEVEL} --connection=local ${SUDO_OPTION} ${ANSIBLE_EXTRA_VARS} ||(echo "first ansible run failed" && exit 2 )

It would be nice if we could also test running this role towards a remote host and at the same time we could test changing {{ bootstrap_user }}. ansible-role-cuda 2 is a role which use LXC to connect to configure remote hosts.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions