body: Good afternoon!
  
  
  I'm interested in a legal issue regarding code licensing. I am writing an Ansible role for two companies, and each company wants to impose its own license on this code: “full or PARTIAL copying is prohibited”.
  
  
  The point is that I am writing a role for the same environments and services. Naturally, it turns out that the roles are very similar. And since the changes in the code can not be swung in the role of Ansible, no matter how you say it, it will be at least recognizable.
  
  
  For example:
  
  
  
  ```
  - name: "Oracle | Install basic Oracle 7 repos"
    yum_repository:
      name: "{{ item.name }}"
      description: "{{ item.description | default ('No descr') }}"
      baseurl: "{{ item.baseurl }}"
      gpgcheck: "{{ item.gpgcheck | default ('0') }}"
      gpgkey: "{{ item.gpgkey | default ('file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5') }}"
      state: "{{ item.state | default('present') }}"
      enabled: "{{ item.enabled | default('yes') }}"
      priority: " {{ item.priority | default('20') }}"
    with_items: "{{ linux_oracle_yum_repo }}"
    tags:
      - update
  
  ```
  
  In both companies, this piece of code is similar to one and it does not work out to change much.
  
  
  I ask for a little help in the legal issue of this situation: HOW much do I need to change the code so that it does not regarded as "partial copying"?
  
  
  Is this changing a one character in a file? Or in the whole program? Or changing one line? Or need to dial a certain percentage of the code difference? Or is it enough just to change a name the variables and the descriptions?
  
  
  Thank you for help!
  
  
  
title: How to change the code so that it does not fall under the violation of the license "partial copying"