Skip to content

Commit

Permalink
Added prompt to install virtual environment in README. md (#910)
Browse files Browse the repository at this point in the history
* Update README.md file

* small change

* update readme

Co-authored-by: xuzhang3 <Zhangxu894765>
  • Loading branch information
Fred-sun authored Jul 8, 2022
1 parent 8758219 commit 996f51b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ This collection provides a series of Ansible modules and plugins for interacting

Documentation of individual modules is [available in the Ansible docs site](https://docs.ansible.com/ansible/latest/collections/azure/azcollection/index.html#plugins-in-azure-azcollection)

## Installation

It is recommended to run ansible in [Virtualenv](https://virtualenv.pypa.io/en/latest/)

## Requirements

- ansible version >= 2.9

## Installation

To install Azure collection hosted in Galaxy:

```bash
Expand All @@ -22,7 +24,7 @@ ansible-galaxy collection install azure.azcollection
Install dependencies required by the collection (adjust path to collection if necessary):

```bash
pip install -r ~/.ansible/collections/ansible_collections/azure/azcollection/requirements-azure.txt
pip3 install -r ~/.ansible/collections/ansible_collections/azure/azcollection/requirements-azure.txt
```

To upgrade to the latest version of Azure collection:
Expand All @@ -44,7 +46,7 @@ To use a module from Azure collection, please reference the full namespace, coll
tasks:
- azure.azcollection.azure_rm_storageaccount:
resource_group: myResourceGroup
name: myStorageAccount
name: mystorageaccount
account_type: Standard_LRS
```
Expand All @@ -59,7 +61,7 @@ Or you can add full namepsace and collecton name in the `collections` element:
tasks:
- azure_rm_storageaccount:
resource_group: myResourceGroup
name: myStorageAccount
name: mystorageaccount
account_type: Standard_LRS
```

Expand Down

0 comments on commit 996f51b

Please sign in to comment.