# Git и pip

<details id="bkmrk-git---name%3A-clone-up"><summary>Git</summary>

```yaml
- name: Clone update repo
  git:
    repo: https://github.com/ansible/ansible.git
    dest: /usr/local/ansible
    clone: yes
    update: yes 
```

</details><details id="bkmrk-pip-%D0%98%D0%B7-%D0%BE%D1%84%D0%B8%D1%86%D0%B8%D0%B0%D0%BB%D1%8C%D0%BD%D0%BE%D0%B3%D0%BE-"><summary>Pip</summary>

Из официального репозитория:

```yaml
- name: Install python package
  pip:
     name: numpy
     version: 0.3
```

Из внешнего источника

```yaml
- name: install a python library from a github
  pip:
    name: https://github.com/jakubroztocil/httpie
```

</details>