how to create a juju-unit for ansible?

Clash Royale CLAN TAG#URR8PPP up vote
1
down vote
favorite
I need to build a juju unit for ansible alone. I can't find ansible charm in charm store. What would be the better approach?
juju
add a comment |Â
up vote
1
down vote
favorite
I need to build a juju unit for ansible alone. I can't find ansible charm in charm store. What would be the better approach?
juju
The following page has a nice example on how to create a juju charm using the ansible layer.
â user3499430
Apr 10 at 11:16
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I need to build a juju unit for ansible alone. I can't find ansible charm in charm store. What would be the better approach?
juju
I need to build a juju unit for ansible alone. I can't find ansible charm in charm store. What would be the better approach?
juju
juju
asked Apr 3 at 12:23
Achyuth Kumar Karanam
83
83
The following page has a nice example on how to create a juju charm using the ansible layer.
â user3499430
Apr 10 at 11:16
add a comment |Â
The following page has a nice example on how to create a juju charm using the ansible layer.
â user3499430
Apr 10 at 11:16
The following page has a nice example on how to create a juju charm using the ansible layer.
â user3499430
Apr 10 at 11:16
The following page has a nice example on how to create a juju charm using the ansible layer.
â user3499430
Apr 10 at 11:16
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
There already exists an Ansible layer. If you start creating your charm (Info found here) you can add this layer to you layer.yaml file. Here is an example of how your layer.yaml would look like:
includes: ['layer:basic', 'layer:ansible-base']
repo: git@github.com:sebastienpattyn93/ansible-charm.git
This will make sure that your charm will install Ansible. If you want your charm to things on top of ansible make sure to use the flag @when('ansible.available')
The github page of the ansible-base shows more information on how to use ansible playbooks with this charm.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
There already exists an Ansible layer. If you start creating your charm (Info found here) you can add this layer to you layer.yaml file. Here is an example of how your layer.yaml would look like:
includes: ['layer:basic', 'layer:ansible-base']
repo: git@github.com:sebastienpattyn93/ansible-charm.git
This will make sure that your charm will install Ansible. If you want your charm to things on top of ansible make sure to use the flag @when('ansible.available')
The github page of the ansible-base shows more information on how to use ansible playbooks with this charm.
add a comment |Â
up vote
1
down vote
There already exists an Ansible layer. If you start creating your charm (Info found here) you can add this layer to you layer.yaml file. Here is an example of how your layer.yaml would look like:
includes: ['layer:basic', 'layer:ansible-base']
repo: git@github.com:sebastienpattyn93/ansible-charm.git
This will make sure that your charm will install Ansible. If you want your charm to things on top of ansible make sure to use the flag @when('ansible.available')
The github page of the ansible-base shows more information on how to use ansible playbooks with this charm.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
There already exists an Ansible layer. If you start creating your charm (Info found here) you can add this layer to you layer.yaml file. Here is an example of how your layer.yaml would look like:
includes: ['layer:basic', 'layer:ansible-base']
repo: git@github.com:sebastienpattyn93/ansible-charm.git
This will make sure that your charm will install Ansible. If you want your charm to things on top of ansible make sure to use the flag @when('ansible.available')
The github page of the ansible-base shows more information on how to use ansible playbooks with this charm.
There already exists an Ansible layer. If you start creating your charm (Info found here) you can add this layer to you layer.yaml file. Here is an example of how your layer.yaml would look like:
includes: ['layer:basic', 'layer:ansible-base']
repo: git@github.com:sebastienpattyn93/ansible-charm.git
This will make sure that your charm will install Ansible. If you want your charm to things on top of ansible make sure to use the flag @when('ansible.available')
The github page of the ansible-base shows more information on how to use ansible playbooks with this charm.
edited May 7 at 13:13
answered Apr 4 at 8:31
SebastienPattyn
5681319
5681319
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1021596%2fhow-to-create-a-juju-unit-for-ansible%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
The following page has a nice example on how to create a juju charm using the ansible layer.
â user3499430
Apr 10 at 11:16