<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can we use ansible to provision an ec2 instance? in HPE Morpheus Enterprise</title>
    <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248789#M1963</link>
    <description>&lt;P&gt;If you’d like to see an example of the information that Morpheus makes available for it’s provisioning tasks, try this python task: &lt;A href="https://github.com/gomorpheus/morpheus-automation-examples/blob/main/Python/DumpEnvironment/py-dump-env.py" class="inline-onebox"&gt;morpheus-automation-examples/py-dump-env.py at main · gomorpheus/morpheus-automation-examples · GitHub&lt;/A&gt;  You can put it in a provisioning workflow and run it against an instance.&lt;/P&gt;
&lt;P&gt;I would recommend taking a look at some of the youtube videos we have available here: &lt;A href="https://www.youtube.com/@Gomorpheus"&gt;https://www.youtube.com/@Gomorpheus&lt;/A&gt;  They can provide some understanding of the base level functions of Morpheus and how to use them.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Dec 2022 21:22:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2022-12-14T21:22:43Z</dc:date>
    <item>
      <title>Can we use ansible to provision an ec2 instance?</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248781#M1955</link>
      <description>&lt;P&gt;Can we use ansible playbook to provision ec instance and run some additional playbooks to make some configuration inside an ec instance  at os level?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 17:38:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248781#M1955</guid>
      <dc:creator />
      <dc:date>2022-11-15T17:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use ansible to provision an ec2 instance?</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248782#M1956</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hpe.com/u/paul_b"&gt;@Paul_B&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The playbooks can be run before the start of provisioing the EC2 and more can be run after the instance is in the running state.&lt;/P&gt;
&lt;P&gt;Can you elaborate more on the type of tasks you would execute in parallel to ec2 instance provisioning.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 15:55:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248782#M1956</guid>
      <dc:creator />
      <dc:date>2022-11-21T15:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use ansible to provision an ec2 instance?</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248783#M1957</link>
      <description>&lt;P&gt;Provisioning an EC2 instance using Morpheus and running tasks against the machine once it is deployed is one of Morpheus’ primary use cases.  You can run any supported task against a deployed instance.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 14:28:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248783#M1957</guid>
      <dc:creator />
      <dc:date>2022-12-14T14:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use ansible to provision an ec2 instance?</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248784#M1958</link>
      <description>&lt;P&gt;There is no documentation on this because Morpheus uses it’s own internal process to provision EC2 instances.  There is no supported workflow where Ansible is creating the instance.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 13:58:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248784#M1958</guid>
      <dc:creator />
      <dc:date>2022-11-17T13:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use ansible to provision an ec2 instance?</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248785#M1959</link>
      <description>&lt;P&gt;An Ansible playbook is capable of creating EC2 instances in AWS.  You can also use Ansible to configure an OS once launched.  I’m not sure you’d want to use Morpheus to run ad-hoc Ansible playbooks to launch unmanaged EC2 instances, though.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 18:53:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248785#M1959</guid>
      <dc:creator />
      <dc:date>2022-11-15T18:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use ansible to provision an ec2 instance?</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248786#M1960</link>
      <description>&lt;P&gt;Is there a way to get the variable from provisioned ec2 instance , pass it to the running tasks.&lt;/P&gt;
&lt;P&gt;Example : A task is depending on provisioned instance ip address , ip address is dynamic , so a task need to fetch the ip from ec2 once it provisioned  and pass it to the next task&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 15:45:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248786#M1960</guid>
      <dc:creator />
      <dc:date>2022-12-14T15:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use ansible to provision an ec2 instance?</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248787#M1961</link>
      <description>&lt;P&gt;HI , Thanks  for your response  , We want to provision an ec2 instance + additional some configuration along with this ec2 task , While running ec2 playbook , it also has to run additional playbooks which does some additional configuration on storage side ,&lt;/P&gt;
&lt;P&gt;But i stuck here to setp this workflow , Do you have any doc for ansible to provision ec on morphoues data , our playbooks are ready&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 06:03:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248787#M1961</guid>
      <dc:creator />
      <dc:date>2022-11-17T06:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use ansible to provision an ec2 instance?</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248788#M1962</link>
      <description>&lt;P&gt;Ok , Pls correct me ,&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;we cannot use ansible playbook to provision an ec2 instance , we need to use different&lt;BR /&gt;
process to provision ec2 instance , is my understanding right ?&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;But i want some different ansible playbooks to run along with ec2 instance provision task , is that can be done ?&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 18 Nov 2022 13:00:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248788#M1962</guid>
      <dc:creator />
      <dc:date>2022-11-18T13:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use ansible to provision an ec2 instance?</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248789#M1963</link>
      <description>&lt;P&gt;If you’d like to see an example of the information that Morpheus makes available for it’s provisioning tasks, try this python task: &lt;A href="https://github.com/gomorpheus/morpheus-automation-examples/blob/main/Python/DumpEnvironment/py-dump-env.py" class="inline-onebox"&gt;morpheus-automation-examples/py-dump-env.py at main · gomorpheus/morpheus-automation-examples · GitHub&lt;/A&gt;  You can put it in a provisioning workflow and run it against an instance.&lt;/P&gt;
&lt;P&gt;I would recommend taking a look at some of the youtube videos we have available here: &lt;A href="https://www.youtube.com/@Gomorpheus"&gt;https://www.youtube.com/@Gomorpheus&lt;/A&gt;  They can provide some understanding of the base level functions of Morpheus and how to use them.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 21:22:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248789#M1963</guid>
      <dc:creator />
      <dc:date>2022-12-14T21:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use ansible to provision an ec2 instance?</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248790#M1964</link>
      <description>&lt;P&gt;Hi Let me put my usecase ,&lt;/P&gt;
&lt;P&gt;I want to keep couple of playbooks , one playbook(if morpheus data support) is to provision ec2 instance  , then two more additional playbook to configure iscsi storage connectivity to onprem storage controller&lt;/P&gt;
&lt;P&gt;OR&lt;BR /&gt;
If we have to use morpheus data workflow to provision ec2 instance then after immediate we wanna run couple of playbooks , but that playbooks need to get the variable data from provisoned ec2 instance , data needs to be passed in to variable&lt;/P&gt;
&lt;P&gt;More detailed explanation :&lt;/P&gt;
&lt;P&gt;I want to provision a ec2 instance and get the value  from  cat /etc/iscsi/initiatorname.iscsi this file and pass this value to a playbook variable part ,&lt;/P&gt;
&lt;P&gt;Condition : I can use ansible playbook  to provision ec2 instance then run some  different playbooks after ec3 provisioned .&lt;BR /&gt;
Or if morphues data supports its own workflow to provision ec2 instance then we will be ready to use it but we want to get the value of  cat /etc/iscsi/initiatorname.iscsi this file from the provisioned ec2 instance and pass this value to a playbook variable part which runs once ec2 provisoned&lt;/P&gt;
&lt;P&gt;i want to if it can be done using morpheus data or not , working for one of the customer usecase&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 16:56:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/can-we-use-ansible-to-provision-an-ec2-instance/m-p/7248790#M1964</guid>
      <dc:creator />
      <dc:date>2022-12-13T16:56:30Z</dc:date>
    </item>
  </channel>
</rss>

